<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // let a = 10;
        // a = 20;
        // console.log(a);

        //常量的值不可改变
        // const a = 10;
        // a = 20;
        // console.log(a);



        // let a;
        // console.log(a);//undefined


        //常量初始化的时候,必须赋值
        // const a;
        // console.log(a);
    </script>
</body>
</html>